package com.example.test01;

import android.content.Context;
import android.content.Intent;

public class Teacher {
    Context mContext;//有m的是成员变量
    public Teacher(Context context){
        mContext = context;//没有的参数
    }
    public void  send(){
        Intent intent = new Intent();
        intent.setAction("hyw");
        mContext.sendBroadcast(intent);
    }
}